Fluent Assertions Documentation
FluentAssertions.Collections Namespace / GenericDictionaryAssertions<TCollection,TKey,TValue,TAssertions> Class / NotContain Method / NotContain(KeyValuePair<TKey,TValue>[]) Method
The unexpected key/value pairs
In This Topic
    NotContain(KeyValuePair<TKey,TValue>[]) Method
    In This Topic
    Asserts that the current dictionary does not contain the specified items. Key comparison will honor the equality comparer of the dictionary when applicable. Values are compared using their System.Object.Equals(System.Object) implementation.
    Syntax

    Parameters

    items
    The unexpected key/value pairs
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also